using System;
using System.Drawing;
using System.Windows.Forms;

namespace Tool.BaseClass
{
	public class GClass54
	{
		public ToolTip tooltip = new ToolTip();

		public static GClass54 Object
		{
			get
			{
				return new GClass54();
			}
		}

		public void method_0(object object_0, string string_0)
		{
			Control control = (Control)object_0;
			control.MouseLeave += new EventHandler(this.method_1);
			System.Drawing.Point point = new System.Drawing.Point
			{
				X = control.Bounds.Left,
				Y = control.Bounds.Top + control.Height + 2
			};
			this.tooltip.Show(string_0, control.Parent, point);
		}

		private void method_1(object sender, EventArgs e)
		{
			this.tooltip.Hide((IWin32Window)sender);
		}
	}
}
